package com.zy.learn.bean;


import org.springframework.stereotype.Component;

/**
 * 通过这个bean测试下，到底是xml中的bean先初始化，还是注解的bean先初始化
 */
//@Component
public class InitSortBean {

	private String name;

	private String desc;

	public InitSortBean(String name) {
		System.out.println("InitSortBean name InitSortBean");
		this.name = name;

	}

	public InitSortBean() {
		System.out.println("InitSortBean empty InitSortBean");
	}
}
